package com.huawang.mdesign.model.service.dto;

import com.huawang.business.constants.ParamErrorConstants;
import com.huawang.business.dto.ProjectIdDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author baibf
 * @description profile添加DTO
 * @date 2023/3/21 17:01
 **/
@Data
public class AddProfileDTO extends ProjectIdDTO {

    @NotEmpty(message = ParamErrorConstants.NO_PROFILE_ID)
    private String projectId;

    @Schema(title = "profile文件绝对路径")
    @NotEmpty(message = ParamErrorConstants.NO_PROFILE_PATH)
    private String profilePath;

    @Schema(title = "profile文件目录")
    private String profileLibPath;

    @Schema(title = "协同扩展库文件夹路径")
    private String onlineProfileLibPath;
}
